﻿
function requestMeeting(uname, upwd, rid) {
    //普通会议室账号密码登录模式
    var str = "{http://61.162.225.227:887/download/FMDesktop.exe}{Inpor}{FMDesktop}{-link TCP:172.19.21.101:1089 -uname " + uname + " -upwd " + upwd + " -utype 1 -rid " + rid + "}";

    str = encodeURIComponent(str);

    var url = "launcher.fment://" + encode64(str);

    window.location.href = url;
}

function requestMeeting1() {
    //普通会议室游客模式
    var str = "{http://localhost:8080/download/FastMeeting_Ent_WindowsV3.9.3.45.exe}{Inpor}{FMDesktop}{-link TCP:localhost:1089 -uname solin  -utype 0 -rid 10002}";

    str = encodeURIComponent(str);

    var url = "launcher.fment://" + encode64(str);

    window.location.href = url;

}

function requestMeeting2() {
    //会议室密码类型账号密码登录模式
    var str = "{http://localhost:8080/download/FastMeeting_Ent_WindowsV3.9.3.45.exe}{Inpor}{FMDesktop}{-link TCP:localhost:1089 -uname solin -upwd asd123456 -rpwd 123456 -utype 1 -rid 10003}";

    str = encodeURIComponent(str);

    var url = "launcher.fment://" + encode64(str);

    window.location.href = url;

}

function requestMeeting3() {
    //会议室密码类型游客登录模式
    var str = "{http://localhost:8080/download/FastMeeting_Ent_WindowsV3.9.3.45.exe}{Inpor}{FMDesktop}{-link TCP:localhost:1089 -uname solin -upwd asd123456 -rpwd 123456 -utype 0 -rid 10003}";

    str = encodeURIComponent(str);

    var url = "launcher.fment://" + encode64(str);

    window.location.href = url;

}
